package yanjunwei.rbac.domain.entity;

import java.time.LocalDateTime;

public class User extends BaseEntity {

    public String username;
    public String name;
    public String mobile;
    public String email;
    public Integer deptId;
    public Integer roleId;
    public boolean enabled=true;


    public User(){}

    public User(Integer id, LocalDateTime createAt, LocalDateTime updateAt, String username, String name, String mobile,
                String email, Integer deptId, Integer roleId) {
        super(id, createAt, updateAt);
        this.username = username;
        this.name = name;
        this.mobile = mobile;
        this.email = email;
        this.deptId = deptId;
        this.roleId = roleId;
    }
}
